package com.jinmdz.fmis.api.api.model.settlement;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 打印发票加载数据
 *
 * @author LiCongLu
 * @date 2020-05-13 16:22
 */
@ApiModel(value = "打印发票加载数据", description = "打印发票加载数据")
public class ChargeInvoiceLoadData extends BaseBean {
    /**
     * 发票代码
     */
    @ApiModelProperty(value = "发票代码", name = "invoiceCode", position = 1)
    private String invoiceCode;

    /**
     * 发票号码
     */
    @ApiModelProperty(value = "发票号码", name = "invoiceNo", position = 2)
    private String invoiceNo;

    /**
     * 发票抬头
     */
    @ApiModelProperty(value = "发票抬头", name = "invoiceTitle", position = 3)
    private String invoiceTitle;

    /**
     * 发票金额
     */
    @ApiModelProperty(value = "发票金额", name = "invoiceCharge", position = 4)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal invoiceCharge;

    /**
     * 发票金额大写
     */
    @ApiModelProperty(value = "发票金额大写", name = "invoiceChargeText", position = 5)
    private String invoiceChargeText;

    /**
     * 打印发票时间
     */
    @ApiModelProperty(value = "打印发票时间", name = "invoiceTime", position = 6)
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private Date invoiceTime;

    public String getInvoiceCode() {
        return invoiceCode;
    }

    public ChargeInvoiceLoadData setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode;
        return this;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public ChargeInvoiceLoadData setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
        return this;
    }

    public String getInvoiceTitle() {
        return invoiceTitle;
    }

    public ChargeInvoiceLoadData setInvoiceTitle(String invoiceTitle) {
        this.invoiceTitle = invoiceTitle;
        return this;
    }

    public BigDecimal getInvoiceCharge() {
        return invoiceCharge;
    }

    public ChargeInvoiceLoadData setInvoiceCharge(BigDecimal invoiceCharge) {
        this.invoiceCharge = invoiceCharge;
        return this;
    }

    public String getInvoiceChargeText() {
        return invoiceChargeText;
    }

    public ChargeInvoiceLoadData setInvoiceChargeText(String invoiceChargeText) {
        this.invoiceChargeText = invoiceChargeText;
        return this;
    }

    public Date getInvoiceTime() {
        return invoiceTime;
    }

    public ChargeInvoiceLoadData setInvoiceTime(Date invoiceTime) {
        this.invoiceTime = invoiceTime;
        return this;
    }
}
